block the text_layout's "changed" handler when changing cursor visibility
authorMichael Natterer <mitch@imendio.com>
Wed, 25 May 2005 10:22:37 +0000 (10:22 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Wed, 25 May 2005 10:22:37 +0000 (10:22 +0000)
commite3f318b459beb75afa6ea20e0492e9a6d6da9c86
treefcc081fa802ed0a323e6fafd3d51f9d16835aa44
parent39c5b780e72e5b3fa4f8163ec3f112a36bd0e11d
block the text_layout's "changed" handler when changing cursor visibility

2005-05-25  Michael Natterer  <mitch@imendio.com>

* gtk/gtktextview.c (blink_cb): block the text_layout's "changed"
handler when changing cursor visibility because it would expose
the whole paragraph where the cursor is. Instead, expose the
cursors' areas manually. (#173047).

(text_window_invalidate_cursors): new function which exposes the
cursors.

* gtk/gtkstyle.c (draw_insertion_cursor): added comment that the
same cursor size calculation is in text_window_invalidate_cursors().
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-8
gtk/gtkstyle.c
gtk/gtktextview.c